/************************************************************************
 * <br>
 * <ul>
 * <li>版权所有：唐山弘川科技有限公司 2009－2020</li>
 * <li>创建日期：2009-8-10</li>
 * <li>初始作者：刘川</li>
 * </ul>
 * <ul>
 * <b>修订历史</b>
 * <li>1、</li>
 * </ul>
 ***********************************************************************/
package com.hy.enterprise.framework.persistence.domain.query.conditions ;

/**
 * <ul>
 * <li>设计作者：刘川</li>
 * <li>设计日期：2009-8-10</li>
 * <li>设计时间：下午03:07:12</li>
 * <li>设计目的：在……之间操作符</li>
 * </ul>
 * <ul>
 * <b>修订历史</b>
 * <li>1、</li>
 * </ul>
 */
public enum BetweenOperator
                           implements
                           ITernaryOperator
{
	BETWEEN (
	         " BETWEEN " ,
	         " AND " ) ,
	NOT_BETWEEN (
	             " NOT BETWEEN " ,
	             " AND " ) ;

	private final String	secondStringRepresentation ;

	private final String	stringRepresentation ;

	/**
	 * 构造函数
	 * 
	 * @param stringRepresentation
	 * @param secondStringRepresentation
	 */
	private BetweenOperator (
	                          String stringRepresentation ,
	                          String secondStringRepresentation )
	{
		this.stringRepresentation =
		                            stringRepresentation ;
		this.secondStringRepresentation =
		                                  secondStringRepresentation ;
	}

	/**
	 * @see com.hy.enterprise.framework.persistence.domain.query.conditions.ITernaryOperator#getSecondStringRepresentation()
	 */
	public String getSecondStringRepresentation ( )
	{
		return this.secondStringRepresentation ;
	}

	/**
	 * @see com.hy.enterprise.framework.persistence.domain.query.conditions.IOperator#getStringRepresentation()
	 */
	public String getStringRepresentation ( )
	{
		return this.stringRepresentation ;
	}
}
